package org.feng.datasource.entity;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * 多个数据源配置绑定
 *
 * @author feng
 */
@Data
@Slf4j
@ConfigurationProperties(prefix = "spring.datasource")
public class SpringDataSourceProperties {

    /**
     * 数据源配置
     */
    private Map<String, DataSourceProperties> configMap;
}
